/**
 * 
 */
package com.greenx.hello;

import java.util.Calendar;
import java.util.Date;

/**
 * @author StephenXianweiZhang
 *
 */
public class HelloDate {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Calendar c = Calendar.getInstance();
		System.out.println("now:" +c.getTime().toString());
		c.add(Calendar.YEAR, 20);
		Date aDate = c.getTime();
		
		System.out.println("aDate:" +aDate.toString());

	}

}
